package cn.mrlong.contactutils;

/**
 * Created by BINGO on 2018/08/29.
 */

public class CallInfo {

    public String number; // 号码
    public long date;     // 日期
    public int type;      // 类型：来电、去电、未接
    public String name;//名字
    public long callTime;//通话时间

    public CallInfo(String number, long date, int type, String name, long callTime) {
        this.number = number;
        this.date = date;
        this.type = type;
        this.name = name;
        this.callTime = callTime;
    }

    @Override
    public String toString() {
        return "CallInfo{" +
                "number='" + number + '\'' +
                ", date=" + date +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", callTime=" + callTime +
                '}';
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getCallTime() {
        return callTime;
    }

    public void setCallTime(long callTime) {
        this.callTime = callTime;
    }
}